package ast.terminais;

import org.antlr.runtime.Token;

import ast.Exp_atomica;
import ast.IVisitor;

public class BOOL extends Terminal{

	public BOOL(Token payload) {
		super(payload);

	}
	public boolean getValue() {
		return Boolean.parseBoolean(getText());
	}

	@Override
	public Object accept(IVisitor visitor, Object o) {

		return visitor.visit(this, o);
	}

}
